package com.dykj.fireFighting.api.socialUnit.videoGroup.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.dykj.fireFighting.api.base.video.entity.Video;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;


/**
 * @Description 摄像头分组管理
 * @Author JacksonTu
 * @Date  2022-02-28 14:25:03
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "摄像头分组管理")
@TableName("video_group")
public class VideoGroup extends Model<VideoGroup> {
	private static final long serialVersionUID = 1L;

	@TableId
	private String id;
	private String name;
	/**
	 * 社会单位id
	 */
    @ApiModelProperty(value = "社会单位id")
	@TableField("unit_id")
	private String unitId;

	@TableField("create_by")
	private String createBy;
	@TableField("create_time")
	private Date createTime;
	/**
	 * 0未删除1已删除
	 */
    @ApiModelProperty(value = "0未删除1已删除")
	@TableField("is_del")
	private Integer isDel;

    @TableField(exist = false)
    private List<Video> videoList;

	@TableField(exist = false)
	private List<String> videoIds;

}
